package com.jbit.dm212.service;

import com.jbit.dm212.entity.dto.DmOrderInfoDTO;
import com.jbit.dm212.entity.dto.DmOrderSearchDTO;
import com.jbit.dm212.entity.po.DmOrder;
import com.jbit.dm212.entity.vo.DmOrderSearchVO;
import com.jbit.dm212.entity.vo.DmOrderVO;

import java.util.List;

public interface DmOrderService {
    DmOrder createOrder(DmOrderVO orderVO);
    List<DmOrderSearchDTO> getOrderInfo(DmOrderSearchVO orderSearchVO);

    DmOrderInfoDTO getOrderInfoByOrderNo(String orderNo);

    boolean updateOrderType(DmOrder order);
}
